projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
857a1de
)
(beginning-of-defun-raw): Don't err when called at end of buffer.
author
Karl Heuer
<kwzh@gnu.org>
Sat, 19 Mar 1994 04:07:37 +0000
(
04:07
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Sat, 19 Mar 1994 04:07:37 +0000
(
04:07
+0000)
lisp/emacs-lisp/lisp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/lisp.el
b/lisp/emacs-lisp/lisp.el
index 3156ff39b35d9a7e4ecec5ecffa3a85e79fb6b6c..f5904be736481b1a27c3dfe4c16eecde9404d291 100644
(file)
--- a/
lisp/emacs-lisp/lisp.el
+++ b/
lisp/emacs-lisp/lisp.el
@@
-145,7
+145,7
@@
open-parenthesis, and point ends up at the beginning of the line."
This is identical to beginning-of-defun, except that point does not move
to the beginning of the line when `defun-prompt-regexp' is non-nil."
(interactive "p")
- (and arg (< arg 0) (forward-char 1))
+ (and arg (< arg 0) (
not (eobp)) (
forward-char 1))
(and (re-search-backward (if defun-prompt-regexp
(concat "^\\s(\\|"
"\\(" defun-prompt-regexp "\\)\\s(")